﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SistemaVarejo.View
{
    public partial class frm_fornecedor : Form
    {
        public frm_fornecedor()
        {
            InitializeComponent();
        }

        private void btnCancelar_Click(object sender, EventArgs e)
        {
            Cancelar();
        }
        private void Cancelar()
        {
            txtCnpj.Clear();
            txtCodigo.Clear();
            txtEmail.Clear();
            txtEndereco.Clear();
            txtRazaoSocial.Clear();
            txtTelefone.Clear();
        }

        private void btnNovo_Click(object sender, EventArgs e)
        {
            Cancelar();
            txtCnpj.Focus();
        }

        private void frm_fornecedor_Load(object sender, EventArgs e)
        {

        }
    }
}
